﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace WebBHXH.Entities
{
    public class EntitiesDemo 
    {
            private long _Ma_BHYTTN;

            private long _Ma_DotBH;

            private string _HoVaTen;

            private System.DateTime _NgaySinh;

            private string _GioiTinh;

            private string _DiaChi;

            private string _Ma_CoSoKCB;

            private System.DateTime _TuNgay;

            private System.DateTime _DenNgay;

            private string _Ma_LoaiBH;

            private string _Ma_MucBH;

            private System.Nullable<System.DateTime> _NgayDangKy;

            private System.Nullable<System.DateTime> _NgayCapThe;

            private int _TinhTrang;

            private string _GhiChu;

            private int _DonViBH_STT;

            private string _MaSoThe;

            private string _Ma_NSD;

            private System.DateTime _NgayTaoMoi;

            private System.Nullable<System.DateTime> _NgayCapNhat;

            public long Ma_BHYTTN
            {
                get
                {
                    return this._Ma_BHYTTN;
                }
                set
                {
                    this._Ma_BHYTTN = value;
                }
            }

            public long Ma_DotBH
            {
                get
                {
                    return this._Ma_DotBH;
                }
                set
                {
                    this._Ma_DotBH = value;
                }
            }

            public string HoVaTen
            {
                get
                {
                    return this._HoVaTen;
                }
                set
                {
                    this._HoVaTen = value;
                }
            }

            public System.DateTime NgaySinh
            {
                get
                {
                    return this._NgaySinh;
                }
                set
                {
                    this._NgaySinh = value;
                }
            }

            public string GioiTinh
            {
                get
                {
                    return this._GioiTinh;
                }
                set
                {
                    if ((this._GioiTinh != value))
                    {
                        this._GioiTinh = value;
                    }
                }
            }

            public string DiaChi
            {
                get
                {
                    return this._DiaChi;
                }
                set
                {
                        this._DiaChi = value;
                }
            }

            public string Ma_CoSoKCB
            {
                get
                {
                    return this._Ma_CoSoKCB;
                }
                set
                {
                    this._Ma_CoSoKCB = value;
                }
            }

            
            public System.DateTime TuNgay
            {
                get
                {
                    return this._TuNgay;
                }
                set
                {
                    this._TuNgay = value;
                }
            }

            public System.DateTime DenNgay
            {
                get
                {
                    return this._DenNgay;
                }
                set
                {
                    this._DenNgay = value;
                }
            }

            public string Ma_LoaiBH
            {
                get
                {
                    return this._Ma_LoaiBH;
                }
                set
                {
                    this._Ma_LoaiBH = value;
                }
            }

            public string Ma_MucBH
            {
                get
                {
                    return this._Ma_MucBH;
                }
                set
                {
                    this._Ma_MucBH = value;
                }
            }

            public System.Nullable<System.DateTime> NgayDangKy
            {
                get
                {
                    return this._NgayDangKy;
                }
                set
                {
                    this._NgayDangKy = value;
                }
            }

            public System.Nullable<System.DateTime> NgayCapThe
            {
                get
                {
                    return this._NgayCapThe;
                }
                set
                {
                    this._NgayCapThe = value;
                }
            }

            public int TinhTrang
            {
                get
                {
                    return this._TinhTrang;
                }
                set
                {
                    this._TinhTrang = value;
                }
            }

            public string GhiChu
            {
                get
                {
                    return this._GhiChu;
                }
                set
                {
                    this._GhiChu = value;
                }
            }

            public int DonViBH_STT
            {
                get
                {
                    return this._DonViBH_STT;
                }
                set
                {
                    this._DonViBH_STT = value;
                }
            }

            public string MaSoThe
            {
                get
                {
                    return this._MaSoThe;
                }
                set
                {
                    this._MaSoThe = value;
                }
            }

            public string Ma_NSD
            {
                get
                {
                    return this._Ma_NSD;
                }
                set
                {
                    this._Ma_NSD = value;
                }
            }

            public System.DateTime NgayTaoMoi
            {
                get
                {
                    return this._NgayTaoMoi;
                }
                set
                {
                    this._NgayTaoMoi = value;
                }
            }

            public System.Nullable<System.DateTime> NgayCapNhat
            {
                get
                {
                    return this._NgayCapNhat;
                }
                set
                {
                    this._NgayCapNhat = value;
                }
            }
            
        }
}